package com.wanghaoran.service;

import com.github.pagehelper.PageInfo;
import com.wanghaoran.dto.*;
import com.wanghaoran.entity.AssetsBorrow;
import com.wanghaoran.excel.AssetsBorrowExcel;
import com.wanghaoran.vo.AssetsBorrowVO;

import java.util.List;

/**
 * @author wanghaoran
 */
public interface AssetsBorrowService {


    int insert(AssetsBorrowInsertDTO dto);

    AssetsBorrow select(Long id);

    List<AssetsBorrowVO> list();

    PageInfo<AssetsBorrow> page(AssetsBorrowPageDTO dto);

    int update(AssetsBorrowUpdateDTO dto);

    int delete(Long id);

    int deleteBatch(List<Long> ids);

    List<AssetsBorrowExcel> getExcelData();

    int returnAssets(Long id);


}
